<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class EstadoCivilM extends CI_Model {

    public function __construct() {
        $this->load->database();
    }

    public function obtenerEstadoCivil() {
        $query = "SELECT * FROM estado_civil WHERE nombre <> ''  ORDER BY nombre ";
        return $this->db->query($query)->result();
    }

}